<?php /* Smarty version 2.6.19, created on 2008-09-12 22:55:27
         compiled from default/subtemplates/user_edit.tpl.inc */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'default/subtemplates/user_edit.tpl.inc', 1, false),array('modifier', 'replace', 'default/subtemplates/user_edit.tpl.inc', 7, false),)), $this); ?>
<?php echo smarty_function_config_load(array('file' => $this->_tpl_vars['settings']['language_file'],'section' => 'user_edit'), $this);?>

<?php if ($this->_tpl_vars['errors']): ?>
<p class="caution"><?php echo $this->_config[0]['vars']['error_headline']; ?>
</p>
<ul>
<?php unset($this->_sections['mysec']);
$this->_sections['mysec']['name'] = 'mysec';
$this->_sections['mysec']['loop'] = is_array($_loop=$this->_tpl_vars['errors']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['mysec']['show'] = true;
$this->_sections['mysec']['max'] = $this->_sections['mysec']['loop'];
$this->_sections['mysec']['step'] = 1;
$this->_sections['mysec']['start'] = $this->_sections['mysec']['step'] > 0 ? 0 : $this->_sections['mysec']['loop']-1;
if ($this->_sections['mysec']['show']) {
    $this->_sections['mysec']['total'] = $this->_sections['mysec']['loop'];
    if ($this->_sections['mysec']['total'] == 0)
        $this->_sections['mysec']['show'] = false;
} else
    $this->_sections['mysec']['total'] = 0;
if ($this->_sections['mysec']['show']):

            for ($this->_sections['mysec']['index'] = $this->_sections['mysec']['start'], $this->_sections['mysec']['iteration'] = 1;
                 $this->_sections['mysec']['iteration'] <= $this->_sections['mysec']['total'];
                 $this->_sections['mysec']['index'] += $this->_sections['mysec']['step'], $this->_sections['mysec']['iteration']++):
$this->_sections['mysec']['rownum'] = $this->_sections['mysec']['iteration'];
$this->_sections['mysec']['index_prev'] = $this->_sections['mysec']['index'] - $this->_sections['mysec']['step'];
$this->_sections['mysec']['index_next'] = $this->_sections['mysec']['index'] + $this->_sections['mysec']['step'];
$this->_sections['mysec']['first']      = ($this->_sections['mysec']['iteration'] == 1);
$this->_sections['mysec']['last']       = ($this->_sections['mysec']['iteration'] == $this->_sections['mysec']['total']);
?>
<?php $this->assign('error', $this->_tpl_vars['errors'][$this->_sections['mysec']['index']]); ?>
<li><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_config[0]['vars'][$this->_tpl_vars['error']])) ? $this->_run_mod_handler('replace', true, $_tmp, "[profile_length]", $this->_tpl_vars['profil_length']) : smarty_modifier_replace($_tmp, "[profile_length]", $this->_tpl_vars['profil_length'])))) ? $this->_run_mod_handler('replace', true, $_tmp, "[profile_maxlength]", $this->_tpl_vars['settings']['profile_maxlength']) : smarty_modifier_replace($_tmp, "[profile_maxlength]", $this->_tpl_vars['settings']['profile_maxlength'])))) ? $this->_run_mod_handler('replace', true, $_tmp, "[signature_length]", $this->_tpl_vars['signature_length']) : smarty_modifier_replace($_tmp, "[signature_length]", $this->_tpl_vars['signature_length'])))) ? $this->_run_mod_handler('replace', true, $_tmp, "[signature_maxlength]", $this->_tpl_vars['settings']['signature_maxlength']) : smarty_modifier_replace($_tmp, "[signature_maxlength]", $this->_tpl_vars['settings']['signature_maxlength'])))) ? $this->_run_mod_handler('replace', true, $_tmp, "[word]", $this->_tpl_vars['word']) : smarty_modifier_replace($_tmp, "[word]", $this->_tpl_vars['word'])); ?>
</li>
<?php endfor; endif; ?>
</ul>
<?php endif; ?>
<?php if ($this->_tpl_vars['msg']): ?><p class="ok"><?php echo $this->_config[0]['vars'][$this->_tpl_vars['msg']]; ?>
</p><?php endif; ?>
<form action="index.php" method="post" accept-charset="<?php echo $this->_config[0]['vars']['charset']; ?>
">
<div>
<input type="hidden" name="mode" value="user" />
<table class="normaltab" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="c"><strong><?php echo $this->_config[0]['vars']['edit_user_name']; ?>
</strong></td>
<td class="d"><strong><?php echo $this->_tpl_vars['user_name']; ?>
</strong></td>
</tr>
<?php if ($this->_tpl_vars['settings']['avatars'] > 0): ?>
<tr>
<td class="c"><strong><?php echo $this->_config[0]['vars']['edit_avatar']; ?>
</strong></td>
<td class="d"><span id="avatar"><?php if ($this->_tpl_vars['avatar']): ?><a href="index.php?mode=avatar" title="<?php echo $this->_config[0]['vars']['edit_avatar_link_title']; ?>
" onclick="popup('index.php?mode=avatar'); return false"><img src="<?php echo $this->_tpl_vars['avatar']['image']; ?>
" alt="<?php echo $this->_config[0]['vars']['edit_avatar_link_title']; ?>
" width="<?php echo $this->_tpl_vars['avatar']['width']; ?>
" height="<?php echo $this->_tpl_vars['avatar']['height']; ?>
" /></a><?php else: ?><span class="small">[ <a href="index.php?mode=avatar" onclick="popup('index.php?mode=avatar'); return false"><?php echo $this->_config[0]['vars']['add_avatar_link']; ?>
</a> ]</span><?php endif; ?></span></td>
</tr>
<?php endif; ?>
<tr>
<td class="c"><label for="user_hp"><strong><?php echo $this->_config[0]['vars']['edit_user_hp']; ?>
</strong></label></td>
<td class="d"><input id="user_hp" type="text" size="40" name="user_hp" value="<?php echo $this->_tpl_vars['user_hp']; ?>
" maxlength="<?php echo $this->_tpl_vars['settings']['hp_maxlength']; ?>
" /></td>
</tr>
<tr>
<td class="c"><strong><?php echo $this->_config[0]['vars']['edit_user_gender']; ?>
</strong></td>
<td class="d">
<input id="male" type="radio" name="user_gender" value="1"<?php if ($this->_tpl_vars['user_gender'] == '1'): ?> checked="checked"<?php endif; ?> /><label for="male"><?php echo $this->_config[0]['vars']['male']; ?>
</label><br />
<input id="female" type="radio" name="user_gender" value="2"<?php if ($this->_tpl_vars['user_gender'] == '2'): ?> checked="checked"<?php endif; ?> /><label for="female"><?php echo $this->_config[0]['vars']['female']; ?>
</label></td>
</tr>
<tr>
<td class="c"><label for="user_location"><strong><?php echo $this->_config[0]['vars']['edit_user_location']; ?>
</strong></label></td>
<td class="d"><input id="user_location" type="text" size="40" name="user_location" value="<?php echo $this->_tpl_vars['user_location']; ?>
" maxlength="<?php echo $this->_tpl_vars['settings']['location_maxlength']; ?>
" /></td>
</tr>
<tr>
<td class="c"><label for="signature"><strong><?php echo $this->_config[0]['vars']['edit_user_signature']; ?>
</strong></label></td>
<td class="d"><textarea id="signature" cols="65" rows="4" name="signature"><?php echo $this->_tpl_vars['signature']; ?>
</textarea></td>
</tr>
<tr>
<td class="c"><label for="user_time_difference"><strong><?php echo $this->_config[0]['vars']['edit_user_time_diff']; ?>
</strong></label></td>
<td class="d"><p><input id="user_time_difference" type="text" size="6" name="user_time_difference" value="<?php echo $this->_tpl_vars['user_time_difference']; ?>
" maxlength="6" /> <span class="small">(<?php echo $this->_config[0]['vars']['time_diff_format']; ?>
)</span></p>
<p class="xsmall"><?php echo ((is_array($_tmp=$this->_config[0]['vars']['current_forum_time'])) ? $this->_run_mod_handler('replace', true, $_tmp, "[time]", $this->_tpl_vars['forum_time']) : smarty_modifier_replace($_tmp, "[time]", $this->_tpl_vars['forum_time'])); ?>
</p></td>
</tr>
<tr>
<td class="c">&nbsp;</td>
<td class="d"><input type="submit" name="edit_user_submit" value="<?php echo $this->_config[0]['vars']['userdata_submit_button']; ?>
" /></td>
</tr>
</table>
</div>
</form>